Skip to content

Add AGENTS.md, shared .ai workflows, and security review skill - #8

Closed
Jeremy Lee (legit-ninja) wants to merge 1 commit into
vexxhost:mainfrom
samaritanark:feat/security-review
Closed

Jeremy Lee (legit-ninja) wants to merge 1 commit into
vexxhost:mainfrom
samaritanark:feat/security-review

Conversation

@legit-ninja

Copy link
Copy Markdown
Contributor

AGENTS.md documents the project layout, CI commands, and conventions for any AI agent. The .ai directory holds tool-agnostic playbooks, starting with a security review tailored to this library's threat model. The Claude Code skill and CLAUDE.md wrap these shared files.

Add AGENTS.md and a CLAUDE.md that imports it, with the project layout,
commands, and conventions for AI agents and contributors.

Document the library's threat model in docs/explanation/security-model.md,
mapping each control to its code and tests, and add a register of
deliberate allowances, held privileges, controls owned by callers,
residual risks, and fixed findings in
docs/reference/security-allowances.md.

Add a tool-agnostic security review workflow in .ai/ with change and
baseline modes, false-positive rules, an agent security policy, and a
Claude Code skill that wraps them. The review reads the register, the
security model, and its own instructions from the base ref, so a branch
cannot pre-allow its own findings, and it always reports changes to the
review policy, agent instructions, and CI. The skill pre-approves exact
git commands only. Open findings stay in the gitignored local/ report
until their fix ships; findings in upstream code are reported privately
first.

Signed-off-by: Jeremy Lee <jeremy.lee1664@gmail.com>

Mohammed Naser (mnaser) commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Jeremy Lee (@legit-ninja) thanks for the PR, I think we'll keep these conventions outside of the repository for now since they are very specific and we (at this point) want to have a standardized method rather than embedding this in a single repo where others might operate differently.

Happy to take in the code PRs though.

@legit-ninja
Jeremy Lee (legit-ninja) deleted the feat/security-review branch November 30, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants